﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="memberRegister.ascx.cs" Inherits="UserControl_memberRegister" %>
<div class="content-r">
        <form method="post" action="/member.aspx/login">
          <input type="hidden" name="UrlReturn" value="" />
          <div class="form-front">
            <fieldset>
              <legend>Đăng kí tài khoản</legend>
              <div style="color:Red; line-height:150%; padding:5px 0px 10px; text-align:center;"> Các trường có dấu <span class="star">*</span> bắt buộc phải nhập. </div>
              
              <div class="editor-label">
                <label>Họ và tên: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" ID="txtFullname"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Tên đăng nhập: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" ID="txtUsername"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Mật khẩu: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" TextMode="Password" ID="txtPassword"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Nhập lại mật khẩu: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" TextMode="Password" ID="txtRePassword"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Địa chỉ Email: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" ID="txtEmail"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Nhập lại địa chỉ Email: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" ID="txtReEmail"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Ngày tháng năm sinh: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" ID="txtDOB"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Số điện thoại: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" ID="txtPhone"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Tỉnh - Thành phố: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" ID="txtCity"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Quận - Huyện: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" ID="txtDistrict"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Địa chỉ: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" ID="txtAddress"></asp:TextBox>
              </div>

              <div class="editor-label">
                <label>Mã bảo vệ: <span class="star">*</span></label>
              </div>
              <div class="editor-field">
                <asp:TextBox runat="server" ID="txtCaptcha"></asp:TextBox>
              </div>
              <p class="submit">
                <asp:Button runat="server" ID="btnLogin" Text="Đăng nhập" 
                      onclick="btnLogin_Click"/>
                &nbsp; &nbsp;
                
                [<a href="/member.aspx/Register">Đăng ký</a>] </p>
            </fieldset>
          </div>
        </form>
      </div>